Global Types and Structures

Connection 

Properties

 
NameTypeDescription
TargetObjectGets the object that forms part of the connection
DistanceNumberGets the distance along the parent object
 

Example: Get the name of the next conveyor

 
var nextConv = myConv.NextConnection.Target;
LogDebug("next conveyor is " + nextConv.Name);

 

Header

Properties

 
NameTypeDescription
MessageIDIntegerInteger value that identifies the message type
DeviceIDIntegerInteger value that identifies the device that sent or is to receive message
LocationIDIntegerInteger value that identifies specific equipment
DeviceRefIntegerInteger value that is sent by the device for its own internal use, should be copied back to the device in any response message

Example:

myHeader = CreateHeader();
myHeader.MessageID = 102;
myHeader.DeviceID = 2;
myHeader.LocationID = 41;
myHeader.DeviceRef = 23;

Functions

void Dispose()

Called to release system allocated resources, this must be called when the object is no longer required.

Return value - None

 

 

Message

Properties

The properties of a message object are defined by the user.

Functions

void Dispose()

Called to release system allocated resources. This must be called when the object is no longer required.

Return value - None